import java.util.Scanner;
public class Lab06_Task01 {
public static void main(String[] args){
Scanner s = new Scanner(System.in);
int i = s.nextInt();
int j = s.nextInt();
if (i>j){
while (i>=j) {
System.out.print(j+" ");
j++;
}
} else {
while (j>=i) {
System.out.print(i+" ");
i++;
}
}
}
}